package com.client
{
	import flash.net.SharedObject;

	/**
	 * ShareObject资源版本
	 * @author Tide
	 */
	public class SO
	{
		public function SO()
		{
		}
		
		public static function getSOver():String
		{
			var so:SharedObject = SharedObject.getLocal("soVer");
			var ver:uint = uint(so.data.ver);
			return ver.toString();
		}
		
		public static function setSOver():void
		{
			var so:SharedObject = SharedObject.getLocal("soVer");
			so.data.ver = uint(so.data.ver) + 1;
			so.flush();
		}
	}
}